package com.orphan.marketBack.service.impl;

import com.orphan.marketBack.dao.OrderMaintenanceMapper;
import com.orphan.marketBack.dto.OrderMaintenanceDto;
import com.orphan.marketBack.service.OrderMaintenanceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service("OrderMaintenanceServiceImpl")
public class OrderMaintenanceServiceImpl implements OrderMaintenanceService {
    @Autowired
    OrderMaintenanceMapper orderMaintenanceMapper;
    @Override
    public List<OrderMaintenanceDto> selectOrderMaintenance() {
        return orderMaintenanceMapper.selectOrderMaintenance();
    }

    @Override
    public List<OrderMaintenanceDto> selectOrderMaintenanceByGoodsName(OrderMaintenanceDto orderMaintenanceDto) {
        return orderMaintenanceMapper.selectOrderMaintenanceByGoodsName(orderMaintenanceDto);
    }
}
